package cn.diancan.dto;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set; 
/**
 * 角色表
 * @author 
 *
 */ 
public class SysRoleDto implements Serializable{
    	
	/**
     * 
     */
    private static final long serialVersionUID = 6933260245268872173L;
	private Long    id;          //id
	private String name;     //角色名称
	private String description;     //角色描述
	private String creationDate; //创建时间
	private String modificationDate;//修改时间
	private Integer enable;      //是否可用 1：可用 0：禁用
	private Integer isDelete;     //是否删除 0:未删除 1：删除
	private Set<SysAuthorityDto> ymAuthorities=new HashSet<SysAuthorityDto>();//权限集合
	private Set<SysManagerDto> ymManagers=new HashSet<SysManagerDto>();//用户集合
	
	public Long getId() {
	    return id;
	}
	public void setId(Long id) {
	    this.id = id;
	}
	public String getName() {
	    return name;
	}
	public void setName(String name) {
	    this.name = name;
	}
	public String getDescription() {
	    return description;
	}
	public void setDescription(String description) {
	    this.description = description;
	}
	public String getCreationDate() {
	    return creationDate;
	}
	public void setCreationDate(String creationDate) {
	    this.creationDate = creationDate;
	}
	public String getModificationDate() {
	    return modificationDate;
	}
	public void setModificationDate(String modificationDate) {
	    this.modificationDate = modificationDate;
	}
	public Integer getEnable() {
	    return enable;
	}
	public void setEnable(Integer enable) {
	    this.enable = enable;
	}
	public Integer getIsDelete() {
	    return isDelete;
	}
	public void setIsDelete(Integer isDelete) {
	    this.isDelete = isDelete;
	}
	public Set<SysAuthorityDto> getYmAuthorities() {
	    return ymAuthorities;
	}
	public void setYmAuthorities(Set<SysAuthorityDto> ymAuthorities) {
	    this.ymAuthorities = ymAuthorities;
	}
	public Set<SysManagerDto> getYmManagers() {
	    return ymManagers;
	}
	public void setYmManagers(Set<SysManagerDto> ymManagers) {
	    this.ymManagers = ymManagers;
	}
	
	
}
